stbenge wrote:
> I see what you mean. I've never encountered any unwanted effects from
> using fractional number-dependent loops, but it's a good thing to keep
> in mind. Errors at the 16th decimal place are acceptable for most of the
> things I do, but there will probably come a time when your input saves
> me from beating my head against a hard surface :)
It's mainly relevant if you loop thousands of times. With 100 iterations
it's not a big problem :)
Post a reply to this message
|